package net.tarine.oracolo.client;

import com.google.gwt.core.client.GWT;

import net.tarine.oracolo.client.service.AuthService;
import net.tarine.oracolo.client.service.AuthServiceAsync;

public class ClientUi {

	private AuthServiceAsync authService = GWT.create(AuthService.class);
	
	public void initUi() {
		String token = AuthSingleton.get().getTokenFromCookie();
		if (token == null) {
			//new: try oauth authorization
			
		} else {
			//try oauth authentication
		}
	}
	
}
